﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebContratos.reportes.WebForm1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Página sin título</title>
    
    <LINK href= "<%=basePath%>css/owastyle.css" 
type=text/css rel=stylesheet>
<LINK href="<%=basePath%>css/owacolors.css" 
type=text/css rel=stylesheet>
<LINK id=cssFont 
href="<%=basePath%>css/style30.css" type=text/css rel=stylesheet>


<style>
td.bar
{
height:			34px;
padding-left:	10px;
vertical-align: middle;
font-weight:	bold;
font-size:		14px;
color:			#ffffff;
overflow:		hidden;
text-overflow:	ellipsis;
}
table.stageContextBar
{
filter		: progid:DXImageTransform.Microsoft.Gradient(gradientType=1,startColorStr=#6489d4,endColorStr=#466094);
background-image: -moz-linear-gradient(top, #FFFFFF, #C4DDFF);
background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #C4DDFF),color-stop(1, #FFFFFF));
border-bottom:1px solid #466094;
}
table.leftContextBar
{
filter		: progid:DXImageTransform.Microsoft.Gradient(gradientType=1,startColorStr=#485673,endColorStr=#63769c);
background-image: -moz-linear-gradient(top, #FFFFFF, #C4DDFF);
background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #C4DDFF),color-stop(1, #FFFFFF));
border-bottom:1px solid #485674;
border-right:1px solid #466094;
}
#Dgradiente {
	background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #739AD5),color-stop(1, #FFFFFF));
	}

    .style11
    {
        font-family: Tahoma;
        font-size: small;
        font-weight: bold;
        width: 172px;
    }

</style>
    
    	  <link rel="stylesheet" href="css/estiloTablas.css" type="text/css"/>
    	  
    </head>
<body>
    <form id="form1" runat="server">
    <table style="width:100%" cellSpacing="0" cols="0" cellPadding="0">
			    <tr>
				<td style="width:1%"  align="left">
					<div style="font-weight: bold; font-size: 18px; color: #6699cc; font-family: Tahoma;">
						  <img src="../images/ico_lrg_132.gif" 
							   loop="0"/>
					</div>
				 </td>
				 <td align="left" valign="bottom" style="width:80%">
					   <span style="height: 35px; font-weight: bold; font-size: 18px; color: #3A5389; font-family: Tahoma;"> Reporte de Contratos por Gerencias Solicitantes </span>
				 </td>				 
				 </tr>
            </table>
    <center>
        <table id="tblGrid" cellpadding="0" cellspacing="0" >
           <tr>
              <td class="style11">Seleccione el Año:              
              </td>
              <td>
                  <asp:DropDownList ID="dpListaAnios" runat="server">
                  </asp:DropDownList>
                  <asp:Button ID="btConsulta" runat="server" Text="Consultar" 
                      onclick="btConsulta_Click" />
              </td>
           </tr>
           <tr>
             <td colspan="2">
             <center>
                             <asp:GridView ID="grdcontratos" runat="server" AutoGenerateColumns="False"
                             BackColor="#3382D4" BorderColor="#3382D4" 
                             BorderStyle="None" BorderWidth="1px" CellPadding="3" 
                             PageSize="30" Width="600px">
                             <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                             <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
                             <Columns>
                                <asp:TemplateField>
                                    <HeaderTemplate>Area:</HeaderTemplate>
                                    <ItemTemplate><%#Eval("Area")%></ItemTemplate>
                                    <ItemStyle HorizontalAlign="Left" />
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <HeaderTemplate>Cantidad:</HeaderTemplate>
                                    <ItemTemplate><%#Eval("Cantidad")%></ItemTemplate>
                                    <ItemStyle HorizontalAlign="Right" />
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <HeaderTemplate>Valor:</HeaderTemplate>
                                    <ItemTemplate><%#Eval("Valor")%></ItemTemplate>
                                    <ItemStyle HorizontalAlign="Right" />
                                </asp:TemplateField>                                                               
                             </Columns>
                             <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                             <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                             <HeaderStyle BackColor="#3382D4" Font-Bold="True" ForeColor="White" />
                             <AlternatingRowStyle BackColor="Gainsboro" />
                         </asp:GridView>	
                         
            </center> 
            </td>
            </tr>
          </table>      
          
          </center>                   		 
    </form>
</body>
</html>
